package com.example.xss.commom.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

import java.lang.reflect.Type;

/**
 * 字段枚举
 */
@AllArgsConstructor
@Getter
public enum MetricNameEnum {

    /**
     * 字段配置 第一个表
     */
    YYSY("ps.oi", "营业收入",Integer.class),

    YSZK("bs.ar", "应收账款",Integer.class),
    CH("bs.i", "存货",Integer.class),
    LDBL("bs.tca_tcl_r", "流动比率",Double.class),
    JLY("ps.np", "净利润",Integer.class),
    JYHDXJLJE("cfs.ncffoa", "经营活动产生的现金流净额",Integer.class),
    // 第一个表结束
    ZBKZ("cfs.cpfpfiaolta", "资本开支",Integer.class),

    ZYXJLL("m.fcf", "自由现金流量",Integer.class),
    GSMGSJLY("ps.npatoshopc", "归属于母公司普通股股东的净利润",Integer.class),
    JYYZQ("m.m_ds", "净现金周转天数(CCC)（净营业周期）",Double.class),
    SXL("m.crfscapls_oi_r", "销售商品提供劳务收到的现金对营业收入的比率（收现率）",Double.class),
    YSPJ("bs.nraar", "应收票据及应收账款",Double.class),
    YSZKK("bs.afc", "预收账款",Double.class),






    ;

    /**
     * 值
     */
    private  String value;

    /**
     * 说明
     */
    private  String desc;

    private Type clazz;

}
